export default [
    { path: '/', component: '@/pages/index', name: '首页' },
    { path: '/test', component: '@/pages/test/index', name: '测试' },
    {
        path: '/stu', name: '学员管理',
        routes: [
            { path: '/stu/list', component: '@/pages/stu/list', name: '学员列表' },
            { path: '/stu/pub', component: '@/pages/stu/pub', name: '学员录入' }
        ]
    },
    {
        path: '/cate', name: '分类管理',
        routes: [
            { path: '/cate/list', component: '@/pages/category/cateList', name: '分类列表' },
            { path: '/cate/pub', component: '@/pages/category/catePub', name: '分类录入' }
        ]
    },
    {
        path: '/banner', name: '轮播管理',
        routes: [
            { path: '/banner/list', component: '@/pages/banner/list', name: '轮播列表' },
            { path: '/banner/pub', component: '@/pages/banner/pub', name: '轮播发布' }
        ]
    }
]